export enum Routes {
  Login = '/login',
}

const routes = [
  {
    path: '/login',
    component: '@/pages/login',
    layout: false,
  },
  {
    path: '/',
    layout: '@/layouts/index',
    routes: [
      {
        path: '/',
        redirect: '/talk',
      },
      {
        path: '/talk',
        component: '@/pages/talk',
      },
      // {
      //   path: '/document/:id',
      //   component: '@/pages/document-viewer',
      // },
    ],
  },
  {
    path: '/*',
    component: '@/pages/404',
    layout: false,
  },
];

export default routes;
